// 2.根据订单类型 改变对应的打印单标题
// 1 - 登记入库 - 产品入库表 - 补货日期	产品名称	产品规格	数量	产品批号	操作人
// 2 - 消耗出库 - 产品消耗表 - 缴费日期	住院号	床号	姓名	耗材名称	耗材规格	供应商	数量	预计手术时间	操作人
// 10- 返还入库 - 产品退回表 - 退回日期	产品名称	产品规格	数量	产品批号	操作人	备注
// 20- 退货出库 - 产品退货表 - 退货日期	产品名称	产品规格	数量	产品批号	操作人	备注
export const printTitles = {
  1: "产品入库表",
  2: "产品消耗表",
  10: "产品退回表",
  20: "产品退货表",
  ER: "产品消耗表(急诊)"
};
export const printColumns = {
  1: [
    { label: "补货日期", prop: "order_date" },
    { label: "产品名称", prop: "goods_name" },
    { label: "产品规格", prop: "goods_spec" },
    { label: "数量", prop: "qty" },
    { label: "产品批号", prop: "batch_no" },
    { label: "操作人", prop: "update_user_name" }
  ],
  2: [
    { label: "缴费日期", prop: "order_date" },
    { label: "住院号", prop: "medical_record_no" },
    { label: "床号", prop: "bed_no" },
    { label: "姓名", prop: "patient_name" },
    { label: "耗材名称", prop: "goods_name" },
    { label: "耗材规格", prop: "goods_spec" },
    { label: "供应商", prop: "supplier" },
    { label: "数量", prop: "qty" },
    { label: "预计手术时间", prop: "use_time" },
    { label: "操作人", prop: "update_user_name" }
  ],
  ER: [
    { label: "缴费日期", prop: "order_date" },
    { label: "住院号", prop: "medical_record_no" },
    { label: "床号", prop: "bed_no" },
    { label: "姓名", prop: "patient_name" },
    { label: "耗材名称", prop: "goods_name" },
    { label: "耗材规格", prop: "goods_spec" },
    { label: "供应商", prop: "supplier" },
    { label: "数量", prop: "qty" },
    { label: "预计手术时间", prop: "use_time" },
    { label: "操作人", prop: "update_user_name" }
  ],
  10: [
    { label: "退回日期", prop: "order_date" },
    { label: "产品名称", prop: "goods_name" },
    { label: "产品规格", prop: "goods_spec" },
    { label: "数量", prop: "qty" },
    { label: "产品批号", prop: "batch_no" },
    { label: "操作人", prop: "update_user_name" },
    { label: "备注", prop: "remark" }
  ],
  20: [
    { label: "退货日期", prop: "order_date" },
    { label: "产品名称", prop: "goods_name" },
    { label: "产品规格", prop: "goods_spec" },
    { label: "数量", prop: "qty" },
    { label: "产品批号", prop: "batch_no" },
    { label: "操作人", prop: "update_user_name" },
    { label: "备注", prop: "remark" }
  ]
};
